package info.techgeek.labs.inhertance;

public class A {
	
	private String name;
	public A(String name){
		this.name  = name;
	}
	public A(){
		this("");
	}
	
	public void getPublic(){
		System.out.println("THIS IS PUBLIC");
	}
	private void getPrivate(){
		System.out.println("THIS IS PRIVATE");
	}
	protected void getProtected(){
		System.out.println("THIS IS PROTECTED");
	}
	void getDefault(){
		System.out.println("THIS IS DEFAULT");
	}
}
